@import '~sassvar';

.modal {
    
}

.modal-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.45);
    z-index: 110;
}

.modal-content {
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 120;
    width: 560px;
    margin: 0 auto;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.5);
    border-radius: 10px;
}

.modal-hd {
    line-height: 50px;
    padding: 50px 50px 18px 50px;
    font-size: 36px;
    text-align: center;
}

.modal-bd {
    padding: 0 54px;

    li {
        position: relative;
        line-height: 40px;
        color: $text-normal-dark;

        &:before {
            position: absolute;
            left: -14px;
            top: 14px;
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 8px;
            background: $background-primary;
        }
    }
}

.modal-ft {
    display: flex;
    margin-top: 18px;
    border-top: 1px solid $border-color;
}

.modal-btn {
    flex: 1 0 auto;
    width: 50%;
    line-height: 100px;
    text-align: center;
    font-size: 36px;
    color: $text-normal-dark;

    &:first-child {
        border-right: 1px solid $border-color;
    }

    &:last-child {
        color: $text-primary;
    }
}